package com.scs.application.modules.wm.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class WorkOrderDTO {
    /**
     * 出库单ID
     */
    @NotBlank(message = "出库单ID不能为空")
    private String workOrderId;

    /**
     * 条码
     */
    @NotBlank(message = "条码不能为空")
    private String uniqueCode;

    /**
     * 供应商ID
     */
    @NotBlank(message = "供应商ID不能为空")
    private String supplierId;

    /**
     * 寄售标识
     */
    @NotNull(message = "寄售标识不能为空")
    private Boolean flagConsignment;

    /**
     * 一物一码标识
     */
    @NotNull(message = "一物一码标识不能为空")
    private Boolean flagOmoc;

    /**
     * 仓库id
     */
    @NotNull(message = "仓库唯一标识为空")
    private String warehouseId;
}
